package com.itbaizhan.test.exercise;
/**
 * 一个学生类
 */

public class SxStu {
    int id;
    int age;
    String sname;

    public void study(){
        System.out.println("正在学习");
    }

    public void kickball(){
        System.out.println("踢球中！");
    }

    public static void main(String[] args) {
        SxStu s1 = new SxStu();
        System.out.println(s1.id);
        System.out.println(s1.age);
        System.out.println(s1.sname);

        s1.id = 1002;
        s1.age = 32;
        s1.sname = "华";
        System.out.println(s1.id);
        System.out.println(s1.age);
        System.out.println(s1.sname);
    }
}
